# conding = utf-8
from selenium.webdriver.common.by import By

left_menu_sys = By.XPATH, "//li//span[text()='报表查询']"
left_menu = By.XPATH, '//*[@id="app"]/section/aside/div/ul/li[7]/ul/li[12]/a'

btn_unfold = By.XPATH, "//a[contains(text(), '展开')]"

member = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div/form/div/div[1]/div/div[2]/div/span/div/div'
member_options = By.XPATH, "//li[contains(text(), '客户1')]"

find_btn = By.XPATH, "//button[span[text()='查 询']]"

detail = By.XPATH, '//*[@id="reportPrint"]/div[1]/div/div/div/div/div/div[2]/table/tbody/tr[1]/td[2]/span/a'

name_send = By.CSS_SELECTOR, "input[placeholder='请输入单据编号查询']"
id_send = By.CSS_SELECTOR, "input[placeholder='请输入名称、规格、型号']"


detail_btn = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/span/div/button[1]'

historical_btn = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/span/div/button[4]'

historical_id = By.CSS_SELECTOR, "input[placeholder='请输入单据编号']"

historical_fend = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/div[2]/div/div[2]/div/span/div'
historical_options = By.XPATH, "//li[contains(text(), '测试用户')]"

historical_state = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/div[3]/div/div[2]/div/span/div'
state_options = By.XPATH, "//li[contains(text(), '未审核')]"
finance = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/div[4]/div/div[2]/div/span/div'

information = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/div[5]/div/div[2]/div/span/div'
information_options = By.XPATH, "//li[contains(text(), '账户1')]"

select_btn = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/span/div/button[1]'
detail_tow = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[2]/div/div/div/div/div/div[2]/table/tbody/tr/td[2]/span/a'

find_expected = By.XPATH, "//td/span/a[text()='SK00000000708']"

cancel_one = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[3]/button[2]'
cancel_tow = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[3]/button'
cancel_three = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[3]/button'

reset = By.XPATH, '//*[@id="app"]/section/section/main/div[2]/div/div/div/div/div[2]/div/div/div[2]/div/div[2]/div[2]/div[3]/div/div/div[2]/div/div[2]/div[2]/div[1]/form/div/span/div/button[2]'
